package com.wxd.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author wxd
 * @version V1.0
 * @description User
 * @date 2022/4/21 17:56
 **/
public class User {
    private String id;
    private String name;
    private Integer age;
    private Date registerDate;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Date getRegisterDate() {
        return registerDate;
    }

    public void setRegisterDate(Date registerDate) {
        this.registerDate = registerDate;
    }

    @Override
    public String toString() {
        return "User{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", registerDate=" + registerDate +
                '}';
    }
}
